import { httpInstance } from '@/utils/request'

interface RemoveTeammateAPIResData {
  code: number
  data: null
  msg: string
  time: string
}

export function removeTeammateAPI(id: string, token: string) {
  return httpInstance.post<RemoveTeammateAPIResData>(
    'api/Project/delPersonnel',
    { id },
    { headers: { token } },
  )
}
